import request from '@/utils/request'

//获取元素
export const getElement = data =>
  request({
    url: `/custom/form-group/face-element`,
    method: 'post',
    data,
  })


  // 面单管理-创建
export const billUpdate = (type, data) =>
request({
  url: `/bill/${type}/update`,
  method: 'post',
  data,
})
// 面单管理-详情
export const billDetail = (type, params) =>
  request({
    url: `/bill/${type}/detail`,
    method: 'get',
    params,
  })